Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi A

Total Complexity 51
Dependencies 7
Dependents 8
Total lines 367
Lines of code 180
Logical lines of code 89
Comment lines 133
Methods 11
Properties 6

Methods 11

Method Rating Maintainability Complexity Lines of code
register_endpoint_data()
A
50 13 27
get_endpoint_schema()
S
52 6 24
get_endpoint_data()
S
53 6 23
get_update_callback()
S
53 5 25
register_update_callback()
S
56 5 20
get_payment_requirements()
S
55 5 20
throw_exception()
S
63 5 11
format_extensions_properties()
S
58 2 16
register_payment_requirements()
S
68 2 7
__construct()
S
77 1 4
get_formatter()
S
82 1 3